
import { Injectable } from '@angular/core';
import { ViewModel, NgCommand } from '@farris/devkit';
import { Observable } from 'rxjs';

@Injectable()
export class ScfaNjxvComponentViewmodel extends ViewModel {
    public bindingPath = '/scfas';
    public dom = {};
    @NgCommand({
        name: 'scfanjxvAddFileRows',
        params: {
            fileInfoFieldPath: '/scfas/fjxx'
        },
        paramDescriptions: {
            fileInfoFieldPath: { type: 'string' }
        }
    })
    public scfanjxvAddFileRows(commandParam?: any): Observable<any> { return; }

    @NgCommand({
        name: 'scfanjxvRemoveFileRows',
        params: {
            fileInfoFieldPath: '/scfas/fjxx'
        },
        paramDescriptions: {
            fileInfoFieldPath: { type: 'string' }
        }
    })
    public scfanjxvRemoveFileRows(commandParam?: any): Observable<any> { return; }

}